#include <BustaModelCursor.h>
Public Member Functions | |
BustaModelCursor () | |
Constructor. | |
~BustaModelCursor () | |
Destructor. | |
BustaModelPosition * | getPosition () |
Gets cursor position. | |
void | setPosition (int x, int y) |
Sets Positino of cursor sets Position of cursor via x,y coordinates. | |
int | getAlignment () |
gets alignment of cursor Gets the alignment of the cursor, returning enum type of alignment | |
void | setAlignment (int a) |
sets alignment of cursor sets the alignment of the cursor | |
int | getModifier () |
gets cursor modifier Gets current modifier on cursor - this affects whether moves are made via regular keybindings or not | |
void | setModifier (int m) |
sets cursor modifier Sets the cursor modifier |
Cursor for gameboard, has position and alignment, which specifies secondary position. Modifier includes whether chef is confused, etc.
|
Constructor. Initializes variables |
|
Destructor. Deletes position variable |
|
Gets cursor position. Gets the current board position of the cursor |